package org.data12.SpringbootDemo.service;

import org.data12.SpringbootDemo.model.Student;

import java.util.List;

public interface StudentService {

    List<Student> findAll();

    int save(Student student);

    int delete(Integer sno);

    Student findBySno(Integer sno);

    int update(Student student);

    List<Student> findByName(String sname);
}
